package com.hk.service;

import com.hk.entity.Admin;

import java.util.List;

public interface AdminService {
    List<Admin> queryAll();

    void addAdmin(Admin admin);

    void deleteAdmin(List<Integer> ids);

    Admin getById(Integer id);

    void updataAdmin(Admin admin);

    /**
     * 登录
     * @return
     */
    Admin login(Admin admin);

    void uploadUrl(String url, String adminId);

    Admin HomeInfo(String adminId);
}
